//
//  main.swift
//  Underlying-Object
//
//  Created by jianbo.pei on 2023/11/26.
//

import Foundation

struct Teacher {
    var age: Int = 18
    var name: String = "AbnerPei"
}

let t = Teacher()

//print(MemoryLayout<Int>.stride)
//print(MemoryLayout<String>.stride)


print("t is \(t)")

var t1: Teacher?

t1 = t

if var t1 {
    t1.name = "AbnerPei---1"
}

print("t1 -- 222 is \(String(describing: t1))")
